package com.diyizu.service;


import com.diyizu.domain.Student;

import java.util.ArrayList;

public interface IStudentInfoService {

    //增
    void addStudent(Student student);

    //删
    void deleteStudent(String sid);

    //改
    void updateStudent(String sid, Student stu);

    //查
    ArrayList<Student> findAllStudents();
    //通过手机号查
    Student getStudentToPhone(String phone);

    //通过名字查学生
    Student getStudentToName(String name);

    //判断学号是否存在
    boolean isExists(String sid);
}
